﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ComputerizedRehabForms
{
    public partial class IntroForm : Form
    {
        public IntroForm()
        {
            InitializeComponent();
        }

        //BLB_button...opened before rename
        private void button1_Click(object sender, EventArgs e)
        {
            Hide();
            DataManager.setFormType(0);
            DataManager.showLogin();
        }

        private void MLB_button_Click(object sender, EventArgs e)
        {
            Hide();
            DataManager.setFormType(1);
            DataManager.showLogin();
        }

        private void CLB_button_Click(object sender, EventArgs e)
        {
            Hide();
            DataManager.setFormType(2);
            DataManager.showLogin();
        }

        private void IntroForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }

        private void exit_button_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void Bells_button_Click(object sender, EventArgs e)
        {
            Hide();
            DataManager.setFormType(2);
            DataManager.showLogin();
        }
    }
}
